GtkFileChooserNativeWin32: Uninitialize COM at end of thread
authorLuca Bacci <luca.bacci982@gmail.com>
Tue, 16 Jul 2019 10:43:43 +0000 (12:43 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Sun, 4 Aug 2019 16:03:37 +0000 (18:03 +0200)
commit02935afe942924c9612650946f4422c1da431639
treef24237bb8eac9f2eecc69bc0e7141a0ee2532c63
parent234d0443b22478930b004c6b08491c3fee697be1
GtkFileChooserNativeWin32: Uninitialize COM at end of thread

GtkFileChooserNativeWin32 is created and shown on a secondary thread.
This thread initializes COM support with CoInitializeEx but does not
finalize it, so we have a leak. Fix that by calling CoUninitialize()
before thread terminates.

See Merge Request !1043
gtk/gtkfilechoosernativewin32.c